.PHONY:all
all:
	@cd Compile_Run_Server;\
	make;\
	cd -;\
	cd Oj_Server;\
	make;\
	cd -;

.PHONY:clean;
clean:
	@cd Compile_Run_Server;\
	make clean;\
	cd -;\
	cd Oj_Server;\
	make clean;\
	cd -;\
	rm -rf output;

./PHONY:output
output:
	@mkdir -p output/Compile_Run_Server;\
	mkdir -p output/Oj_Server;\
	cp -rf Compile_Run_Server/compile_run_server output/Compile_Run_Server;\
	cp -rf Compile_Run_Server/temp output/Compile_Run_Server;\

	cp -rf Oj_Server/ConfOj_Server output/Oj_Server;\
	cp -rf Oj_Server/Questions output/Oj_Server;\
	cp -rf Oj_Server/Template_html output/Oj_Server;\
	cp -rf Oj_Server/wwwRoot output/Oj_Server;\
	cp -rf Oj_Server/oj_server output/Oj_Server;
